/* 整体容器样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* 订单状态切换按钮样式 */
.status-buttons {
    display: flex;
    justify-content: center;
    background-color: white;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    margin-bottom: 20px;
}

.status-buttons button {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.status-buttons button.active {
    color: #ff4400;
    font-weight: bold;
    border-bottom: 2px solid #ff4400;
}

/* 搜索框样式 */
.search-box {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    background-color: white;
    padding: 20px 0;
}

.search-box input {
    padding: 10px;
    width: 300px;
    border: 1px solid #e5e5e5;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-box button {
    padding: 10px 20px;
    border: none;
    background-color: #ff4400;
    color: white;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

/* 订单列表样式 */
.order-list {
    padding: 0 20px;
}

.order-item {
    background-color: white;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    color: #666;
}

.order-body {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
    border: 1px solid #e5e5e5;
}

.order-body .myorder-product-info {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.order-body .myorder-product-info span {
    margin-bottom: 5px;
}

.order-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.order-actions {
    display: flex;
}

.handleOrder {
    padding: 8px 16px;
    margin-left: 10px;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    background-color: white;
    color: #333;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.handleOrder_pay {
    background-color: #ff4400;
    color: white;
    border-color: #ff4400;
}

.handleOrder_pay:hover {
    background-color: #e63e00;
}

.handleOrder_packup {
    background-color: #f9f9f9;
}

.handleOrder_packup:hover {
    background-color: #e5e5e5;
}

.handleOrder_logistics {
    background-color: #ff4400;
    color: white;
    border-color: #ff4400;
}

.handleOrder_logistics:hover {
    background-color: #e63e00;
}

.handleOrder_aftersales {
    background-color: #f9f9f9;
}

.handleOrder_aftersales:hover {
    background-color: #e5e5e5;
}

/* 物流信息弹窗样式 */
.el-dialog__title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #030303;
}

.el-dialog__content {
    font-size: 14px;
    color: #666;
}

.el-dialog__footer {
    text-align: right;
    padding: 20px;
}

.dialog-footer .el-button {
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    background-color: white;
    color: #333;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dialog-footer .el-button:hover {
    background-color: #e5e5e5;
}

:deep(.el-dialog) {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

:deep(.el-dialog__header) {
    background: #409eff;
    border-radius: 12px 12px 0 0;
    padding: 15px 20px;
}

:deep(.el-dialog__title) {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

:deep(.el-dialog__body) {
    padding: 20px;
}

:deep(.el-steps) {
    margin: 20px 0;
}

:deep(.el-step__head) {
    font-size: 14px;
}

:deep(.el-step__title) {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

:deep(.el-step__description) {
    font-size: 12px;
    color: #666;
}

:deep(.el-step.is-success .el-step__head) {
    color: #52c41a;
    border-color: #52c41a;
}

:deep(.el-step.is-process .el-step__head) {
    color: #409eff;
    border-color: #409eff;
}

.application-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.application-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.application-info p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
}

.application-info strong {
    color: #333;
    font-weight: 500;
}

:deep(.el-form-item__label) {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

:deep(.el-input__inner) {
    border-radius: 8px;
}

:deep(.el-textarea__inner) {
    border-radius: 8px;
}

:deep(.el-upload--picture-card) {
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

:deep(.el-upload--picture-card:hover) {
    border-color: #409eff;
    background: #e6f7ff;
}

:deep(.el-dialog__footer) {
    text-align: right;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

:deep(.el-button) {
    min-width: 100px;
}